package com.example.bookManagement.Service;

import com.example.bookManagement.Mapper.UserInfoMapper;
import com.example.bookManagement.Model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserInfoMapper userInfoMapper;
    public UserInfo queryUserByName(String username) {
        return userInfoMapper.queryUserByName(username);
    }

}
